package service;

import bean.pojo.GdUserArticlelist;

public interface GdUserArticlelistService {
    boolean insert(Long userId, Long articleId);

    boolean delete(Long userId,Long articleId);

    /**
     * 判断文章是否已收藏
     * @param articleId
     * @param userId
     * @return
     * @throws Exception
     */
    boolean isFavorite(Long articleId, Long userId) throws Exception;

}